package com.nidu.demo.tenant.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nidu.demo.tenant.mapper.dataobject.TenantPackageDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface TenantPackageMapper extends BaseMapper<TenantPackageDO> {

    @Select("SELECT * FROM sys_tenant_package WHERE name = #{name} LIMIT 1")
    TenantPackageDO selectByName(String name);
}
